package com.visionvera.myapplication;

import android.app.Application;
import android.content.Context;

import com.visionvera.myapplication.net.APIFunction;
import com.visionvera.retrofitservice.net.RetrofitUtils;
import com.visionvera.retrofitservice.utils.ToastUtils;

public class App extends Application {
    private static App app;
    public static Context getAppContext() {
        return app;
    }
    @Override
    public void onCreate() {
        super.onCreate();
        RetrofitUtils.init(this, APIFunction.class);
        ToastUtils.init(this);
        app=this;
    }
}
